//
//  KLWeakDisplayLink.h
//  KLBookCollection
//
//  Created by apple on 2019/1/15.
//  Copyright © 2019年 bonc. All rights reserved.
//

#import <Foundation/Foundation.h>

@class KLWeakDisplayLink;
@protocol KLWeakDisplayLinkDelegate <NSObject>
@optional
- (void)tick:(KLWeakDisplayLink *)displayLink;
@end

@interface KLWeakDisplayLink : NSObject

@property (nonatomic, weak) id<KLWeakDisplayLinkDelegate>delegate;

@property (nonatomic, assign) NSTimeInterval timestamp;

- (void)start;

- (void)stop;

@end
